package com.sy.interceptor;

import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;

public class MyInterceptor2 extends AbstractInterceptor {

	private static final long serialVersionUID = 4218778741111647145L;

	@Override
	public String intercept(ActionInvocation invocation) throws Exception {

		System.out.println("intercept2");
		
		String result=invocation.invoke();
		
		System.out.println("finish2");
		
		return result;
	}

}
